<!doctype html>
<html lang="en">
  <head>
    <!-- Required meta tags -->
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <!-- Bootstrap CSS -->
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">

    <style>
      html, body { 
        height: 100%; 
      }
    </style>

    <title>Advanced TypeScript - Chapter 2</title>
  </head>
  <body>
    <!-- Use of h-100 allows us to fill the height to 100%. 
      That's why we have the html and body set up to 100%
    -->
    <div class="container-fluid h-100">
      <div class="row h-100">
        <div class="col-lg-6">
          <textarea class="form-control h-100" id="markdown"></textarea>
        </div>
        <div class="col-lg-6 h-100">
          <label class="h-100" id="markdown-output"></label>
        </div>
      </div>
    </div>

    <!-- Optional JavaScript -->
    <!-- jQuery first, then Popper.js, then Bootstrap JS -->
    <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>

    {% comment %} <script src="script/MarkdownParser.js"> {% endcomment %}
    <script src="code/MarkdownParser.js">
    </script>
    <script>
      new HtmlHandler().TextChangeHandle("markdown", "markdown-output");
    </script>
  </body>
</html>